Optimal. Leaf size=39 \[ \frac {2 \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b d x-a d}}\right )}{b \sqrt {d}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 39, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {63, 217, 206} \[ \frac {2 \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b d x-a d}}\right )}{b \sqrt {d}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 63
Rule 206
Rule 217
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {a+b x} \sqrt {-a d+b d x}} \, dx &=\frac {2 \operatorname {Subst}\left (\int \frac {1}{\sqrt {-2 a d+d x^2}} \, dx,x,\sqrt {a+b x}\right )}{b}\\ &=\frac {2 \operatorname {Subst}\left (\int \frac {1}{1-d x^2} \, dx,x,\frac {\sqrt {a+b x}}{\sqrt {-a d+b d x}}\right )}{b}\\ &=\frac {2 \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {-a d+b d x}}\right )}{b \sqrt {d}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 39, normalized size = 1.00 \[ \frac {2 \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b d x-a d}}\right )}{b \sqrt {d}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.46, size = 108, normalized size = 2.77 \[ \left [\frac {\log \left (2 \, b^{2} d x^{2} + 2 \, \sqrt {b d x - a d} \sqrt {b x + a} b \sqrt {d} x - a^{2} d\right )}{2 \, b \sqrt {d}}, -\frac {\sqrt {-d} \arctan \left (\frac {\sqrt {b d x - a d} \sqrt {b x + a} b \sqrt {-d} x}{b^{2} d x^{2} - a^{2} d}\right )}{b d}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.01, size = 76, normalized size = 1.95 \[ \frac {\sqrt {\left (b x +a \right ) \left (b d x -a d \right )}\, \ln \left (\frac {b^{2} d x}{\sqrt {b^{2} d}}+\sqrt {b^{2} d \,x^{2}-a^{2} d}\right )}{\sqrt {b x +a}\, \sqrt {b d x -a d}\, \sqrt {b^{2} d}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.43, size = 39, normalized size = 1.00 \[ \frac {\log \left (2 \, b^{2} d x + 2 \, \sqrt {b^{2} d x^{2} - a^{2} d} b \sqrt {d}\right )}{b \sqrt {d}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.22, size = 56, normalized size = 1.44 \[ -\frac {4\,\mathrm {atan}\left (\frac {b\,\left (\sqrt {b\,d\,x-a\,d}-\sqrt {-a\,d}\right )}{\sqrt {-b^2\,d}\,\left (\sqrt {a+b\,x}-\sqrt {a}\right )}\right )}{\sqrt {-b^2\,d}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 4.77, size = 88, normalized size = 2.26 \[ \frac {{G_{6, 6}^{6, 2}\left (\begin {matrix} \frac {1}{4}, \frac {3}{4} & \frac {1}{2}, \frac {1}{2}, 1, 1 \\0, \frac {1}{4}, \frac {1}{2}, \frac {3}{4}, 1, 0 & \end {matrix} \middle | {\frac {a^{2}}{b^{2} x^{2}}} \right )}}{4 \pi ^{\frac {3}{2}} b \sqrt {d}} - \frac {i {G_{6, 6}^{2, 6}\left (\begin {matrix} - \frac {1}{2}, - \frac {1}{4}, 0, \frac {1}{4}, \frac {1}{2}, 1 & \\- \frac {1}{4}, \frac {1}{4} & - \frac {1}{2}, 0, 0, 0 \end {matrix} \middle | {\frac {a^{2} e^{2 i \pi }}{b^{2} x^{2}}} \right )}}{4 \pi ^{\frac {3}{2}} b \sqrt {d}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________